﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Main.Reseau;
using System.Threading;

namespace Reseau
{
    static class Program
    {
        static Main consoleMain;
        /// <summary>
        /// Point d'entrée principal de l'application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            CoucheReseau coucheReseau = new CoucheReseau();
            Thread threadLireDeTransport = new Thread(coucheReseau.LireDeTransport);
            Thread threadEcrireVersTransport = new Thread(coucheReseau.EcrireVersTransport);

            // Demarrage des threads
            //threadTransportVersReseau.Start();
            threadLireDeTransport.Start();
            threadEcrireVersTransport.Start();
            

        }


    }
}
